package com.cxso.example.domain.sign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(description = "骑缝章/多页签-签章规则")
public class RuleInfoDomain {

    @Schema(description = "签名类型", example = "类型 1签名 2印章")
    private String signType;

    @Schema(description = "签章或者签字ID", example = "如果不指定，则用户默认设置")
    private String signId;

    @Schema(description = "签署类型", example = "类型 1骑缝章，2多页相同位置批量签")
    private String sealType;

    @Schema(description = "起始页", example = "起始页（页码翻译， 0=1， 小于1=-1=最后一页）")
    private String beginPage;

    @Schema(description = "结束页", example = "（页码翻译， 0=1， 小于1=-1=最后一页，大于pdf实际页码=最后一页，比beginPage小与其进行交换）")
    private String endPage;

    @Schema(description = "骑缝章第一个切图百分比", example = "骑缝章第一个切图百分比，20到80之间")
    private String firstSeal;

    @Schema(description = " 骑缝模式", example = "骑缝模式：L左骑缝 R右骑缝")
    private String straddleMode;

    @Schema(description = "签署位置x坐标", example = "如果是骑缝章，该值不用传")
    private String x;

    @Schema(description = "签署位置y坐标", example = "如果是骑缝章，该值不用传")
    private String y;

}
